|
|
11.1 | TCP/IP Transport Layer | ||
| 11.1.3 | Session establishment, maintenance, and termination overview |
|
Multiple applications can share the same
transport connection in the OSI reference model.
One function of the transport layer is to establish a connection-oriented session between similar devices at the application layer. For data transfer to begin, both the sending and receiving applications inform the respective operating systems that a connection will be initiated. One node initiates a connection that must be accepted by the other. Protocol software modules in the two operating systems communicate with each other by sending messages across the network to verify that the transfer is authorized and that both sides are ready. The connection is established and the transfer of data begins after all synchronization has occurred. During transfer, the two machines continue to communicate with their protocol software to verify that data is received correctly. Figure
Congestion can occur during data transfer for two reasons. First, a high-speed computer might be capable of generating traffic faster than a network can transfer it. Second, if many computers simultaneously need to send datagrams to a single destination, that destination can experience congestion, although no single source caused the problem. When datagrams arrive too quickly for a host or gateway to process, they are temporarily stored in memory. If the traffic continues, the host or gateway eventually exhausts its memory and must discard additional datagrams that arrive. Instead of allowing data to be lost,
the transport function can issue a “not ready” indicator to the
sender. Acting like a stop sign, this indicator signals the sender to
stop sending data. When the receiver can handle additional data, the
receiver sends a “ready” transport indicator. When this indicator is
received, the sender can resume the segment transmission.
At the end of data transfer, the sending host sends a signal that indicates the end of the transmission. The receiving host at the end of the data sequence acknowledges the end of transmission and the connection is terminated.
|